﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Sparrow.Web.Router
{
    class Configration
    {
        internal static string RootRouter
        {
            get
            {
                var root = ConfigurationManager.AppSettings["RootRouter"];
                if (string.IsNullOrWhiteSpace(root))
                {
                    return "/";
                }
                else
                {
                    return root + "/";
                }
            }
        }

    }
}
